﻿@model IRIS.Models.ContentIECategoriesViewModel
@{
	ViewBag.Title = "Details";
}
@section SubMenu
{
    <ul id="submenu">
    @foreach (var item in Model.m_Categories)
    { 
        <li>@Html.ActionLink(item.Name, "Groups", new { id = item.ID })</li>
    }
    </ul>
}

<div class="newsDetails">
		<h3>@Model.m_Content.ContentTitle</h3>
		<h4><b>Höfundur: </b>@Model.m_Content.Author</h4>
				<span><b>Flokkur:</b> @Model.m_Content.ContentCategory.Name</span>
                <span class="articleDate"><b>Dagsetning:</b> @{ var date = Model.m_Content.Created.ToShortDateString();}
			@date</span>
		<p>
			@{ var segment = Model.m_Content.ContentText; } 
			@Html.Raw(segment)
		</p>
			  <!-- AddThis Button BEGIN Facebook,Twitter and more-->
			<div class="addthis_toolbox addthis_default_style ">
			<a class="addthis_button_preferred_1"></a>
			<a class="addthis_button_preferred_2"></a>
			<a class="addthis_button_preferred_3"></a>
			<a class="addthis_button_preferred_4"></a>
			<a class="addthis_button_compact"></a>
			<a class="addthis_counter addthis_bubble_style"></a>
			</div>
			<script type="text/javascript">    var addthis_config = { "data_track_clickback": true };</script>
			<script type="text/javascript" src="http://s7.addthis.com/js/250/addthis_widget.js#pubid=ra-4dcc1db078faeaa5"></script>
			<!-- AddThis Button END -->
			<br />
		</div>
